import {
  get
} from "../utils/request";

// 获取轮播图
export const reqBannersAPI = () => get("/api/v1/products");
// 获取商品列表
export const reqProductsAPI = (data = {}) => get("/api/v1/products", data);

// 获取商品详情
export const reqProductDetailAPI = (id) => get("/api/v1/products/" + id);